home *** CD-ROM | disk | FTP | other *** search
- property spriteNum
-
- on mouseDown
- --Set a variable that is used to check what item the user clicked
- global mouseclickedon
- mouseclickedon = spriteNum
-
- end
-
- on mouseUp
- --Check to make sure the mouse was clicked within the sprite (ensures that the cursor is not clicked elsewhere and then
- --lifted up on this sprite) variable is set in mouseDown handlers
- global mouseclickedon
- if mouseclickedon = spriteNum then
-
- --This sets the variable that tells where to go
- global selectedmap
- global submap
- global submappresent
- global tactilepanos
- tactilepanos = 195
- selectedmap = tactilepanos
- submap = 0
- submappresent = -1
-
- --this tells that we want to show parkinfo for that park and indicate that we are not on the main parks map
- global showparkinfo
- global parksmap
- global showpanos
- showpanos = 0
- showparkinfo = 1
- parksmap = 0
- showhide
-
- --This tells the playback head that there's been a map change. The score script will then bring up a predetermined pano
- global mapchange
- mapchange = 1
- --The predetermined pano is set by panonumber...This is the memberNum of the button for the pano content
- global panonumber
- panonumber = 1
-
- end if
-
- end
-